home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000430_robertls@nortelnetworks.com_Tue Nov 2 14:36:29 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!router3.news.adelphia.net!feed.100proofnews.com.MISMATCH!in.100proofnews.com!in.100proofnews.com!snoopy.risq.qc.ca!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
  2. From: "Robert Simmons" <robertls@nortelnetworks.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: How to compile kermit w/o buffers???
  5. Date: Tue, 2 Nov 2004 13:01:49 -0600
  6. Organization: Nortel
  7. Lines: 142
  8. Message-ID: <cm8lit$n11$1@zcars0v6.ca.nortel.com>
  9. NNTP-Posting-Host: robertls-1.us.nortel.com
  10. X-Trace: zcars0v6.ca.nortel.com 1099422110 23585 47.102.125.229 (2 Nov 2004 19:01:50 GMT)
  11. X-Complaints-To: hawkinsj@nortelnetworks.com
  12. NNTP-Posting-Date: Tue, 2 Nov 2004 19:01:50 +0000 (UTC)
  13. X-Priority: 3
  14. X-MSMail-Priority: Normal
  15. X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
  16. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15214
  18.  
  19. Frank,
  20.  
  21. I got side tracked with other tasks and failed to copy the information you
  22. sent on how to recompile the kermit with no buffers. Now the thread is no
  23. longer available.  Can you please reply to me with your last correspondence
  24. to the thread below?
  25.  
  26. Thanks in advance,
  27.  
  28. Robert
  29.  
  30.  
  31.  
  32.  
  33.  
  34. "Robert Simmons" <robertls@nortelnetworks.com> wrote in message news:...
  35.  
  36. > I tried the fork with the stdout and stdin unbuffered. But this had
  37.  
  38. > no effect. Probably because as you wrote the echos and help text
  39.  
  40. > output is buffered internally in kermit. Is there any way to flush
  41.  
  42. > the buffer for echo and help text? Or set it so that these are not
  43.  
  44. > buffered?
  45.  
  46. >
  47.  
  48. > Thanks for the advise on the script. I'll use it. The book I have is
  49.  
  50. > outdated. I'll use the website for more up to date info.
  51.  
  52. >
  53.  
  54. > As for the looping send: We are sending the same file as a soak test
  55.  
  56. > of the connection so we don't care about the content, just that the
  57.  
  58. > connection stays up and the transfers complete.
  59.  
  60. >
  61.  
  62. > Thanks,
  63.  
  64. > Robert
  65.  
  66. >
  67.  
  68. >
  69.  
  70. > "Frank da Cruz" <fdc@columbia.edu> wrote in message
  71.  
  72. > news:slrncnddme.qmr.fdc@sesame.cc.columbia.edu...
  73.  
  74. > > On 2004-10-20, Robert Simmons <robertls@nortelnetworks.com> wrote:
  75.  
  76. > > : I am not piping the output of two processes to one file. I tried
  77.  
  78. > > the
  79.  
  80. > piping
  81.  
  82. > > : of the output of only the kermit script to help debug the weird
  83.  
  84. > behaviour I
  85.  
  86. > > : was seeing in the output during the fork of the script from the
  87.  
  88. > > C++
  89.  
  90. > process.
  91.  
  92. > > :
  93.  
  94. > > : As you can see below the line "Hello and welcome to
  95.  
  96. > csd_send_script.ksc!"
  97.  
  98. > > : should be output well before "NO CARRIER" since it takes about 15
  99.  
  100. > seconds
  101.  
  102. > > : for NO CARRIER to be determined.
  103.  
  104. > > :
  105.  
  106. > > It's what I said: ECHO is buffered, whereas SET DIAL DISPLAY ON
  107.  
  108. > > output is not. By the way, Kermit has had FOR (and WHILE) loops for
  109.  
  110. > > many years, so you don't need the old SET COUNT / IF COUNT trick any
  111.  
  112. > > more:
  113.  
  114. > >
  115.  
  116. > > : set count \%5
  117.  
  118. > > ::loop
  119.  
  120. > > : echo Sending File. Transfer Count: \v(count)\10
  121.  
  122. > > : send \%6
  123.  
  124. > > : if success echo Send File #\v(count) complete\10
  125.  
  126. > > : if fail echo Failed Sending File #\v(count)
  127.  
  128. > > : if count goto loop
  129.  
  130. > >
  131.  
  132. > > Why are you sending the same file repeatedly? Something like this
  133.  
  134. > > looks more sensible:
  135.  
  136. > >
  137.  
  138. > > set flag off
  139.  
  140. > > for \%i 1 \%5 1 {
  141.  
  142. > > send \%6
  143.  
  144. > > if success break
  145.  
  146. > > echo "\%6: Failed - Try #\%i..."
  147.  
  148. > > }
  149.  
  150. > > if != \v(xferstatus) { ... } # 0 means success
  151.  
  152. > >
  153.  
  154. > > - Frank
  155.  
  156. >
  157.  
  158. >
  159.  
  160.